FROM node:8.11.3

# Create app directory
WORKDIR /usr/src/app

# Bundle app source
COPY . .

# Install app dependencies with yarn
RUN yarn

# use tini
ADD https://github.com/krallin/tini/releases/download/v0.17.0/tini /sbin/tini
RUN chmod 755 /sbin/tini

EXPOSE 8000

CMD [ "yarn", "start" ]
